package com.atguigu.principle.ocp.improve;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 其他图形形类 - （提供方）
 * @create: 2022-01-12 20:15
 **/
public class OtherShape extends Shape {

    public OtherShape() {
        super.type = 3;
    }

    @Override
    public void draw() {
        System.out.println("绘制其他图形");
    }
}
